package com.whmnx.my.ui.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.Nullable;

import com.whmnx.my.BR;
import com.whmnx.my.R;
import com.whmnx.my.databinding.FragmentTotalBinding;
import com.whmnx.my.ui.viewmodel.TotalModel;

import me.goldze.mvvmhabit.base.BaseFragment;

/**
 * author : huang
 * date   : 2020/9/24 0024 15:28
 * version: 1.0
 * @author Administrator
 */
public class MyTotalSalesFragment extends BaseFragment<FragmentTotalBinding, TotalModel> {
    @Override
    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return R.layout.fragment_total;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }


    @Override
    public void initData() {
        super.initData();
        viewModel.initToolbar(this);

    }
}
